Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.pictures.tiles.restAPI.contrib--restlets

This contribution is part of XML component org.nuxeo.ecm.platform.pictures.tiles.restAPI.contrib inside nuxeo-platform-imaging-tiling-5.8.jar

Documentation

Extension Point

Extension point restlets of component PluggableRestletService.

Contributed Items

  • <restletPlugin class="org.nuxeo.ecm.platform.pictures.tiles.restlets.PictureTilesRestlets" enabled="true" name="getTiles" useSeam="false">
          <urlPatterns>
            <urlPattern>/getTiles/{repoId}/{docId}/{tileWidth}/{tileHeight}/{maxTiles}</urlPattern>
          </urlPatterns>
        </restletPlugin>

XML Source

<extension point="restlets" target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService">

    <documentation>
     <![CDATA[
     GET /nuxeo/restAPI/getTiles/{repoId}/{docId}/{tileWidth}/{tileHeight}/{maxTiles}?fieldPath=(subPath)&x=(tileX)&y=(tileY)&format=(XML|JSON)
     ]]>
    </documentation>

    <restletPlugin class="org.nuxeo.ecm.platform.pictures.tiles.restlets.PictureTilesRestlets" enabled="true" name="getTiles" useSeam="false">
      <urlPatterns>
        <urlPattern>/getTiles/{repoId}/{docId}/{tileWidth}/{tileHeight}/{maxTiles}</urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>